package com.daxue.demomvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

/**
 * @author daxue0929
 * @date 2022/11/6
 * 继承WebMvcConfigurationSupport，不是必须的。
 *  mvc不配置也是可以运行的，继承了这个类可以方便的配置mvc
 */


@Configuration
@ComponentScan("com.daxue.demomvc")
public class AppConfig extends WebMvcConfigurationSupport {
    
}
